appendChild

abstract fun appendChild(parent: DesignBlock, child: DesignBlock)

Appends a new or existing child to a block's children. Required scope: "editor/add"

Parameters

parent

the block to update.

child

the child to insert. Can be an existing child of parent.